PublishPress\Future\Framework\WordPress\Models\PostModel S

Total Complexity 44
Dependencies 7
Dependents 0
Total lines 346
Lines of code 185
Logical lines of code 83
Comment lines 65
Methods 27
Properties 5

Methods 27

Method Rating Maintainability Complexity Lines of code
getTermNames()
S
58 4 15
updateMeta()
S
57 3 18
deleteMeta()
S
58 3 17
getPostInstance()
S
65 4 9
__construct()
S
62 3 12
publish()
S
62 3 11
getTermIDs()
S
68 2 7
getTerms()
S
66 2 8
getPostTypeSingularLabel()
S
68 2 7
postExists()
S
76 1 4
update()
S
69 1 7
unstick()
S
77 1 4
stick()
S
77 1 4
trash()
S
80 1 3
delete()
S
78 1 3
setTerms()
S
78 1 3
appendTerms()
S
78 1 3
addMeta()
S
67 1 8
metadataExists()
S
66 1 9
getMeta()
S
66 1 9
getPostId()
S
81 1 3
getPostEditLink()
S
80 1 3
getPermalink()
S
80 1 3
setPostStatus()
S
71 1 6
getTitle()
S
80 1 3
getPostType()
S
80 1 3
getPostStatus()
S
80 1 3